Skip to main content

tool

Type

property

Summary

Specifies which tool is currently chosen.

Syntax

set the tool to <toolName>

Description

Use the tool property to check which tool is in use before performing an action that depends on the tool.

The tool names are the same as the names used with the choose command to select a tool for use.

Setting the tool is equivalent to choosing the tool with the choose command. When setting the tool property, you can omit the word "tool".

Examples

set the tool to "button tool"
set the tool to pointer

control structure: function

function: tool

glossary: property, command, return

property: powerKeys

command: choose

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

mobile

Thank you for your feedback!

Was this page helpful?